# with open('pi.txt') as pi:
#     contents = pi.read()
#     print(contents)

# filename = 'pi.txt'
#
# with open(filename) as file_object:
#     for line in file_object:
#         print(line.rstrip())

filename = 'pi.txt'
with open(filename) as pi:
    lines = pi.readlines()
    # for lines in pi:
    #     print(lines.rstrip())
# print(lines)

string_len = ''
for line in lines:
    string_len += line.rstrip()

print(string_len)